package com.hhs.storage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hhs.storage.bean.InputParam;
import com.hhs.storage.bean.Notice;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hhs
 * @since 2023-04-13
 */
public interface NoticeService extends IService<Notice> {
    public Map<String, Object> getAll(Notice notice, InputParam inputParam);

    /**
     * 根据部门id获取公告
     * @param departId
     * @param inputParam
     * @return
     */
    public Map<String, Object> getNoticeByDepartId(String departId, InputParam inputParam);
    public Map<String, Object> addOrUpdate(Notice notice,String deleImgStr);
    public Map<String, Object> dele( String id);
}
